home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 1077 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.4 KB

  1. From: clamage@Eng.Sun.COM (Steve Clamage)
  2. Message-ID: <4kpd3v$2fb@engnews1.Eng.Sun.COM>
  3. X-Original-Date: 13 Apr 1996 23:24:47 GMT
  4. Path: in1.uu.net!bounce-back
  5. Date: 14 Apr 96 12:34:04 GMT
  6. Approved: fjh@cs.mu.oz.au
  7. Newsgroups: comp.std.c++,comp.lang.c++.moderated
  8. Subject: Re: references and ellipsis
  9. Organization: Sun Microsystems Inc., Mountain View, CA
  10. References: <4kop8j$ino@vishnu.jussieu.fr>
  11. X-Newsreader: NN version 6.5.0 #21 (NOV)
  12. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  13.     iQBFAgUBMXDwyeEDnX0m9pzZAQH2hgF9EIaRBJ/UU3WGWGlpyv5n7+cpXfl33BwY
  14.     znb8Fvi0EkXiwBYekldEn8GQpg/+Aa3j
  15.     =VD+K
  16.  
  17. frigault@gla.ecoledoc.ibp.fr (Laurent FRIGAULT) writes:
  18.  
  19. >I discover a problem when trying to use a C++ reference to an object
  20. >just before an ellipsis :
  21.  
  22. >int foo(const int& aInt,...){
  23.  
  24. According the draft standard, the results of using a reference
  25. type as the last pararmeter before the ellipsis (...) are
  26. undefined.  See section 18.7 "Other runtime support" [lib.support.runtime].
  27. --
  28. Steve Clamage, stephen.clamage@eng.sun.com
  29. ---
  30. [ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
  31. [ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
  32. [ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
  33. [ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
  34. [ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
  35.